All Questions
7 questions
1vote
1answer
206views
Best way to merge files in java [closed]
I have a task to merge set of files and each file contains words ( separated by new line ). Files contains words in sorted order. Once merged all the files, it needs to preserve the sorted order. ...
0votes
0answers
346views
Best way to reduce memory consumption on persisting Java objects
Let's say I have an application that maintains relationships between objects - think of a parent-child relationship tree. The lineage of these objects are critical, so maintaining references from ...
-3votes
1answer
339views
What are the pros and cons of using a named binary format as opposed to an unnamed one?
I'm curious to know are there any advantages or disadvantages to creating a named binary format as opposed to an unnamed one? I can only think of a increase in the required disk space. Roughly ...
3votes
3answers
4kviews
Java application - How to optimize database calls and space & time which is more important?
I am writing a simple Java app to run weekly. The app need call database to get data, check it and update. The flow I need is little as following: select configure,orgID where status=true from orgs; ...
1vote
1answer
238views
«Heavy» object initialization: within each thread or outside and then pass it to the threads as parameter?
Let say there is an array of strings, I have to process. I'm using a «heavy» third-part object which gets the string and performs its analysis. In order to optimize a performance, I create a number of ...
5votes
4answers
4kviews
JSF for an internet facing, high traffic web application
I, perhaps, made a wrong choice of going with a Component-based Framework like JSF for an internet facing, high traffic web application. Development with JSF has although been easier but what I fear ...
3votes
4answers
13kviews
Exporting huge data into XLS in a web application [closed]
I am developing a web application in Java/J2EE, in which I have export functionality. I have used Jasper for the same. The issue is when trying to export a huge set of data it is consuming a lot of ...